<?php
$this->breadcrumbs = array(
    'Users' => array('index'),
);

if ($model->id)
    $this->breadcrumbs = CMap::mergeArray($this->breadcrumbs, array($model->username => array('update', 'id' => $model->id), 'Update'));
else
    $this->breadcrumbs[] = 'Create';

?>

<h1>Update User <?php echo $model->username; ?></h1>

<?php echo $this->renderPartial('_form', array('model' => $model)); ?>